Component({
	/**
	 * 组件的属性列表
	 */
	properties: {
		category:{
			type:Array,
			value:[]
		},
		categoryRecommend:{
			type:Array,
			value:[]
		}
	},

	/**
	 * 组件的初始数据
	 */
	data: {

	},

	/**
	 * 组件的方法列表
	 */
	methods: {
			toCategoryDetail(event){
			let id = event.currentTarget.dataset.id
			wx.navigateTo({
				url: `/pages/iconCategoryDetail/iconCategoryDetail?id=${id}`,
			})
		},
		toDetail(event){
			let id = event.currentTarget.dataset.id
			console.log(id);
			wx.navigateTo({
				url: `/pages/radioDetail/radioDetail?id=${id}`,
			})
		}
	}
})
